<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>沂水旅游-我的收藏</title>
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css">
    <link rel="stylesheet" href="/static/index/css/base.css">
    <link rel="stylesheet" href="/static/index/css/my.css">

</head>
<body>

{include file="public/header" model='my' /}
{include file="public/myheader" model='collect' /}

<div class="my-box-width">
    <div class="layui-fluid">

        <div class="layui-row my-order">

            <div class="layui-tab layui-tab-brief" lay-filter="collectTab">
                <ul class="layui-tab-title">
                    <li class="layui-this">景点</li>
                    <li>酒店</li>
                    <li>跟团</li>
                    <li>美食</li>
                    <li>攻略</li>
                    <li>友圈</li>
                </ul>
                <div class="layui-tab-content">

                    <!--景点-->
                    <div class="layui-tab-item layui-show">

                        <div class="layui-row">

                            {notempty name="tour"}
                            {foreach $tour as $k1 => $v1}
                            <div class="layui-col-md12 layui-col-xs12 hotel-list-li">
                                <div class="layui-row">
                                    <div class="layui-col-md4 layui-col-xs12">
                                        <div class="tour-list-img">
                                            <img src="{$v1.tour_covers}" alt="">
                                        </div>
                                    </div>
                                    <div class="layui-col-md8 layui-col-xs12" style="padding-left: 20px;">
                                        <div class="layui-row">
                                            <div class="layui-col-md4 layui-col-xs12">
                                                <div style="height: 10px;"></div>
                                                <a href="{:url('tour/tour',['id'=>$v1.tour_id])}"><span
                                                        class="tour-title">{$v1.tour_name}</span></a>
                                            </div>
                                            <div class="layui-col-md3 layui-col-xs6">
                                                <div style="height: 10px;"></div>
                                                <span class="tour-rate">好评率{$v1.rate}%</span>
                                            </div>
                                        </div>
                                        <div class="tour-list-cintent-tag">
                                            {foreach $v1.tour_tag as $k11 => $v11}
                                            <span>{$v11}</span>
                                            {/foreach}
                                        </div>
                                        <div class="tour-list-cintent-detail">
                                            <h1>
                                                <span>￥</span>156<span> 起</span>
                                            </h1>
                                            <span>已售{$v1.sale_sum}</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            {/foreach}
                            {else/}
                            <div style="width: 100%;height: 300px;text-align: center;line-height: 300px;color: #5c5c5c;">
                                暂无数据
                            </div>
                            {/notempty}

                        </div>

                    </div>

                    <!--酒店-->
                    <div class="layui-tab-item">

                        <div class="layui-row">
                            {notempty name="hotel"}
                            {foreach $hotel as $k2 => $v2}
                            <div class="layui-col-md12 layui-col-xs12 hotel-list-li">
                                <div class="layui-row">
                                    <div class="layui-col-md3 layui-col-xs12">
                                        <div class="hotel-list-img">
                                            <img src="{$v2.hotel_covers}" alt="">
                                        </div>
                                    </div>
                                    <div class="layui-col-md8 layui-col-xs12" style="padding-left: 20px;">
                                        <div class="layui-row">
                                            <div class="layui-col-md4 layui-col-xs12">
                                                <a href="{:url('hotel/hotel',['id'=>$v2.hotel_id])}"><span
                                                        class="hotel-title">{$v2.hotel_name}</span></a>
                                            </div>
                                            <div class="layui-col-md3 layui-col-xs6">
                                                <span class="hotel-rate">好评率{$v2.rate}%</span>
                                            </div>
                                            <div class="layui-col-md5 layui-col-xs6">
                                                <div class="hotel-list-cintent-title-right">
                                                    ￥<span>{$v2.minprice}</span>起
                                                </div>
                                            </div>
                                        </div>
                                        <div class="hotel-list-cintent-tag">
                                            {foreach $v2.hotel_tag as $k22 => $v22}
                                            <span>{$v22}</span>
                                            {/foreach}
                                        </div>
                                        <div class="hotel-list-cintent-detail">
                                            <span>已售{$v2.sum_sale}</span>
                                            <a href="{:url('hotel/hotel',['id'=>$v2.hotel_id])}">
                                                <button style="cursor: pointer">查看详情</button>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            {/foreach}
                            {else/}
                            <div style="width: 100%;height: 300px;text-align: center;line-height: 300px;color: #5c5c5c;">
                                暂无数据
                            </div>
                            {/notempty}
                        </div>

                    </div>

                    <!--跟团-->
                    <div class="layui-tab-item">

                        <div class="layui-row layui-col-space12">

                            {notempty name="hotel"}
                            {foreach $gentuan as $k3 => $v3}
                            <div class="layui-col-md6">
                                <div class="layui-row">
                                    <div class="layui-col-md5 layui-col-xs5">
                                        <div class="gentuanyou_img">
                                            <img src="{$v3.gtour_covers}" alt="">
                                            {if $v3.gtour_days == 1}
                                            <span class="one-you">一日游</span>
                                            {else/}
                                            <span class="more-you">多日游</span>
                                            {/if}
                                        </div>
                                    </div>
                                    <div class="layui-col-md7 layui-col-xs7">
                                        <div class="gentuanyou_info">
                                            <div class="gentuanyou_info_title">{$v3.gtour_title}</div>
                                            <div class="gentuanyou_info_price">
                                                <b>￥</b><span>{$v3.gtour_price}</span>
                                            </div>

                                            <div class="gentuanyou_info_num">
                                                已售<span>{$v3.sale_sum}</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            {/foreach}
                            {else/}
                            <div style="width: 100%;height: 300px;text-align: center;line-height: 300px;color: #5c5c5c;">
                                暂无数据
                            </div>
                            {/notempty}

                        </div>

                    </div>

                    <!--美食-->
                    <div class="layui-tab-item">

                        <div class="layui-row layui-col-space30">

                            {notempty name="food"}
                            {foreach $food as $k4 => $v4}
                            <div class="layui-col-md4 layui-col-xs12">
                                <div class="restaurant-list-box">
                                    <div class="restaurant-img">
                                        <img src="{$v4.food_store_cover}" alt="">
                                    </div>
                                    <div class="restaurant-li-info-box">
                                        <div class="restaurant-li-info">
                                            <div class="restaurant-li-info-title">
                                                <a href="{:url('food/food',['id'=>$v4.food_store_id])}">{$v4.food_store_name}</a>
                                            </div>
                                            <div class="restaurant-li-info-renjun">￥{$v4.food_people_money}人均</div>
                                        </div>
                                        <div class="restaurant-li-info-tag">
                                            {foreach $v4.food_tag as $k44 => $v44}
                                            <span>{$v44}</span>
                                            {/foreach}
                                        </div>
                                    </div>

                                </div>
                            </div>
                            {/foreach}
                            {else/}
                            <div style="width: 100%;height: 300px;text-align: center;line-height: 300px;color: #5c5c5c;">
                                暂无数据
                            </div>
                            {/notempty}

                        </div>

                    </div>

                    <!--攻略-->
                    <div class="layui-tab-item">

                        <!----->
                        {notempty name='gonglve'}
                            <div class="layui-row layui-col-space20">

                                    {foreach $gonglve as $k => $v}
                                    <div class="layui-col-md12">
                                        <a href='{eq name="v.is_method" value="1"}{:url("Circle/method",["id"=>$v.id])}{else/}{:url("Circle/circle",["id"=>$v.id])}{/eq}'>
                                            <div class="youquan-list-box-l">

                                                <div class="layui-row">

                                                    {notempty name="v.image"}
                                                    <div class="layui-col-md3">
                                                        <div class="youquan-cover-img">
                                                            <img src="{$v.image}" alt="">
                                                            {eq name="v.is_video" value="1"}
                                                            <i class="layui-icon layui-icon-play" style="font-size: 30px; color:#20E6BA;"></i>
                                                            {/eq}
                                                        </div>
                                                    </div>
                                                    {/notempty}
                                                    <div
                                                            {notempty name="v.image"}
                                                            class="layui-col-md9"
                                                            {else/}
                                                    class="layui-col-md12"
                                                    {/notempty}
                                                    >
                                                    <div class="youquan-list-info" {empty name="v.image"}style="border-left:1px solid #DBDBDB;"{/empty} >

                                                    <h1 class="youquan-list-title">
                                                        {$v.title}
                                                    </h1>
                                                    <div class="youquan-list-content" style="height: 40px;">
                                                        {$v.content}

                                                    </div>
                                                    <div class="youquan-list-user">

                                                        <div class="layui-row">

                                                            <div class="layui-col-md6">

                                                                <div class="youquan-list-user-l">

                                                                    <div class="youquan-list-user-icon">

                                                                        <img src="{$v.user_icon}" alt="">

                                                                    </div>

                                                                    <div class="youquan-list-user-name">
                                                                        <span>{$v.nickname}</span>
                                                                        <span>{$v.time}</span>
                                                                    </div>

                                                                </div>

                                                            </div>
                                                            <div class="layui-col-md6">

                                                                <div class="youquan-list-num">

                                                                    <span><i class="layui-icon layui-icon-praise"></i>{$v.like_num}</span>
                                                                    <span><i class="layui-icon layui-icon-reply-fill"></i>{$v.read_num}</span>
                                                                    <span><i class="layui-icon layui-icon-share"></i>{$v.share_num}</span>

                                                                </div>

                                                            </div>

                                                        </div>

                                                    </div>

                                                </div>
                                            </div>
                                    </div>

                                </div>
                                </a>

                            </div>
                            {/foreach}

                        </div>
                        {else/}
                        <div class="layui-row">
                            <div style="width: 100%;height: 300px;text-align: center;line-height: 300px;color: #5c5c5c;background: #fcfcfc">
                                暂无数据
                            </div>
                        </div>
                        {/notempty}
                        <!----->

                    </div>

                    <!--友圈-->
                    <div class="layui-tab-item">

                        <!----->
                        {notempty name='circle'}
                        <div class="layui-row layui-col-space20">

                            {foreach $circle as $k => $v}
                            <div class="layui-col-md12">
                                <a href='{eq name="v.is_method" value="1"}{:url("Circle/method",["id"=>$v.id])}{else/}{:url("Circle/circle",["id"=>$v.id])}{/eq}'>
                                    <div class="youquan-list-box-l">

                                        <div class="layui-row">

                                            {notempty name="v.image"}
                                            <div class="layui-col-md3">
                                                <div class="youquan-cover-img">
                                                    <img src="{$v.image}" alt="">
                                                    {eq name="v.is_video" value="1"}
                                                    <i class="layui-icon layui-icon-play" style="font-size: 30px; color:#20E6BA;"></i>
                                                    {/eq}
                                                </div>
                                            </div>
                                            {/notempty}
                                            <div
                                                    {notempty name="v.image"}
                                                    class="layui-col-md9"
                                                    {else/}
                                            class="layui-col-md12"
                                            {/notempty}
                                            >
                                            <div class="youquan-list-info" {empty name="v.image"}style="border-left:1px solid #DBDBDB;"{/empty} >

                                            <h1 class="youquan-list-title">
                                                {$v.title}
                                            </h1>
                                            <div class="youquan-list-content" style="height: 40px;">
                                                {$v.content}

                                            </div>
                                            <div class="youquan-list-user">

                                                <div class="layui-row">

                                                    <div class="layui-col-md6">

                                                        <div class="youquan-list-user-l">

                                                            <div class="youquan-list-user-icon">

                                                                <img src="{$v.user_icon}" alt="">

                                                            </div>

                                                            <div class="youquan-list-user-name">
                                                                <span>{$v.nickname}</span>
                                                                <span>{$v.time}</span>
                                                            </div>

                                                        </div>

                                                    </div>
                                                    <div class="layui-col-md6">

                                                        <div class="youquan-list-num">

                                                            <span><i class="layui-icon layui-icon-praise"></i>{$v.like_num}</span>
                                                            <span><i class="layui-icon layui-icon-reply-fill"></i>{$v.read_num}</span>
                                                            <span><i class="layui-icon layui-icon-share"></i>{$v.share_num}</span>

                                                        </div>

                                                    </div>

                                                </div>

                                            </div>

                                        </div>
                                    </div>
                            </div>

                        </div>
                        </a>

                    </div>
            {/foreach}

        </div>
        {else/}
        <div class="layui-row">
            <div style="width: 100%;height: 300px;text-align: center;line-height: 300px;color: #5c5c5c;background: #fcfcfc">
                暂无数据
            </div>
        </div>
        {/notempty}
        <!----->


    </div>

                </div>

            </div>

        </div>

    </div>

</div>

<div style="height: 100px"></div>

{include file="public/footer" /}

<script>
    var $ = layui.jquery;
        var layer = layui.layer
            , element = layui.element
            , laydate = layui.laydate
            , flow = layui.flow
            , form = layui.form;

        //执行一个laydate实例
        laydate.render({
            elem: '#selectDate'
            , show: true
        });

        flow.lazyimg();

        element.on('tab(collectTab)', function (data) {
            if (data.index == 0) {


            } else if (data.index == 1) {


            } else if (data.index == 2) {


            } else if (data.index == 3) {


            } else if (data.index == 4) {


            }
        });

        window.showGonglveContent = function (id) {

            alert(111);

        }
</script>
</body>
</html>